package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.StockOrderPurchaseDetail;
import com.zshan.clinic.database.model.StockOrderPurchaseDetailExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface StockOrderPurchaseDetailMapper extends SuperMapper {
    long countByExample(StockOrderPurchaseDetailExample example);

    int deleteByExample(StockOrderPurchaseDetailExample example);

    int deleteByPrimaryKey(Long detailId);

    int insert(StockOrderPurchaseDetail row);

    int insertSelective(StockOrderPurchaseDetail row);

    List<StockOrderPurchaseDetail> selectByExample(StockOrderPurchaseDetailExample example);

    StockOrderPurchaseDetail selectByPrimaryKey(Long detailId);

    int updateByExampleSelective(@Param("row") StockOrderPurchaseDetail row, @Param("example") StockOrderPurchaseDetailExample example);

    int updateByExample(@Param("row") StockOrderPurchaseDetail row, @Param("example") StockOrderPurchaseDetailExample example);

    int updateByPrimaryKeySelective(StockOrderPurchaseDetail row);

    int updateByPrimaryKey(StockOrderPurchaseDetail row);
}